<style>
    #main {
        border-top: 1px solid #efe3e5;
        margin-bottom: 0;
    }
</style>
<div ng-controller="doc" style="width: 100%;height: 100%;">
    <div ng-if="loading" style="position: absolute;left: 0;right: 0;top: 300px;bottom: 0">
        <div class="sk-folding-cube">
            <div class="sk-cube1 sk-cube"></div>
            <div class="sk-cube2 sk-cube"></div>
            <div class="sk-cube4 sk-cube"></div>
            <div class="sk-cube3 sk-cube"></div>
        </div>
    </div>
    <iframe id="frame-doc" ng-src="{{url}}"
            style="width: 100%;height: calc(100vh - 46px);border: 0;"></iframe>
</div>
